<template>
  <view class="flex-col page">
    <view class="flex-col flex-auto group_3">
      <image class="image_6" src="../../static/images/4d33e636f0fd5e14fe005260258c1d4c.png" />
      <view class="flex-col items-center group_4 space-y-4">
        <text class="font_3">正在扫描</text>
        <text class="font_3">部分设备无法添加，请确保蓝牙已经打开</text>
      </view>
      <view class="flex-row justify-between group_5">
		<!-- 为手动添加创建点击事件 -->
        <view class="flex-col justify-start items-center text-wrapper" @click="navTo('/pages/addequip/addequip')"><text class="font_1">手动添加</text></view>
        <!-- 为扫码添加创建点击事件 -->
		<view class="flex-col justify-start items-center text-wrapper" @click="navTo('/pages/saomatianjia/saomatianjia')"><text class="font_1">扫码添加</text></view>
      </view>
    </view>
  </view>
</template>

<script>
  export default {
    components: {},
    data() {
      return {};
    },

    methods: {
		// 跳转链接
		navTo(url) {
			uni.navigateTo({
				url
			});
		}
	},
  };
</script>

<style scoped lang="scss">
  .page {
    background-color: #ffffff;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    .group_3 {
      padding: 0 12.5rpx 62.5rpx;
      overflow-y: auto;
      .image_6 {
        width: 725rpx;
        height: 725rpx;
      }
      .group_4 {
        margin-top: 33.33rpx;
        .font_3 {
          font-size: 31.25rpx;
          font-family: SourceHanSansCN;
          line-height: 37.5rpx;
          color: #000000;
        }
      }
      .space-y-4 {
        & > view:not(:first-child),
        & > text:not(:first-child),
        & > image:not(:first-child) {
          margin-top: 8.33rpx;
        }
      }
      .group_5 {
        margin-top: 204.17rpx;
        padding: 0 16.67rpx;
        .text-wrapper {
          padding: 25rpx 0;
          background-color: #138f87;
          border-radius: 36.46rpx;
          width: 281.25rpx;
          height: 72.92rpx;
          .font_1 {
            font-size: 25rpx;
            font-family: SourceHanSansCN;
            line-height: 22.92rpx;
            color: #ffffff;
          }
        }
      }
    }
  }
</style>